home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 21 / CU Amiga Magazine's Super CD-ROM 21 (1998)(EMAP Images)(GB)[!][issue 1998-04].iso / CUCD / Programming / EasyPLUGINs / Install_English < prev    next >
Encoding:
Text File  |  1997-12-18  |  2.4 KB  |  100 lines

  1. ;
  2. ;   $VER: Install_EasyPLUGINs (English) 1.4 (24.12.97)
  3. ;
  4.  
  5. (complete 0)
  6.  
  7. ; set language strings
  8.  
  9. (set #MODULES_PROMPT "Install the EasyPLUGINs modules?")
  10. (set #MODULES_HELP   "I guess you want to install these, otherwise you wouldn't be running the install script :)")
  11.  
  12. (set #DEST_PROMPT    "Choose the path where the source code and documentation will be installed. If the EasyPLUGINs directory does not exist, it will be created.")
  13.  
  14. (set #GUIDE_PROMPT   "Install the main EasyPLUGINs documentation?")
  15. (set #GUIDE_HELP     "You should probably read this.")
  16.  
  17. (set #DOCS_PROMPT    "Install the documentation for the PLUGINs?")
  18. (set #DOCS_HELP      "You should probably read these.")
  19.  
  20. (set #EXAMP_PROMPT   "Install the EasyPLUGINs example source code?")
  21. (set #EXAMP_HELP     "Extremely recommended.")
  22.  
  23. (set #SOURCE_PROMPT  "Install the source code to the EasyPLUGINs modules?")
  24. (set #SOURCE_HELP    "You might want to modify these - read the documentation for the conditions of use.")
  25.  
  26. ; copy the modules to EModules:
  27.  
  28. (copyfiles (prompt #MODULES_PROMPT)
  29.            (source "modules/")
  30.            (all)
  31.            (dest   "EModules:EasyPLUGINs")
  32.            (confirm)
  33.            (help   #MODULES_HELP)
  34. )
  35.  
  36. (complete 10)
  37.  
  38. ; get the installation directory
  39.  
  40. (set #DESTINATION
  41.           (askdir (prompt  #DEST_PROMPT)
  42.                   (help    @default-help)
  43.                   (default @default-dest)
  44.           )
  45. )
  46.  
  47. (complete 15)
  48.  
  49. ; Find/make main directory, install main .guide
  50.  
  51. (set #DEST_MAIN     (tackon #DESTINATION "EasyPLUGINs"))
  52.  
  53. (copyfiles (prompt  #GUIDE_PROMPT)
  54.            (source  "EasyPLUGINs.guide")
  55.            (dest    #DEST_MAIN)
  56.            (infos)
  57.            (confirm)
  58.            (help    #GUIDE_HELP)
  59. )
  60.  
  61. (complete 35)
  62.  
  63. ; install the documentation for the PLUGINs
  64.  
  65. (copyfiles (prompt  #DOCS_PROMPT)
  66.            (source  "docs")
  67.            (all)
  68.            (dest    (tackon #DEST_MAIN   "docs"))
  69.            (confirm)
  70.            (help    #DOCS_HELP)
  71. )
  72.  
  73. (complete 60)
  74.  
  75. ; install the examples for the PLUGINs
  76.  
  77. (copyfiles (prompt  #EXAMP_PROMPT)
  78.            (source  "examples")
  79.            (all)
  80.            (dest    (tackon #DEST_MAIN   "examples"))
  81.            (confirm)
  82.            (help    #EXAMP_HELP)
  83. )
  84.  
  85. (complete 85)
  86.  
  87. ; install the sources of the PLUGINs
  88.  
  89. (copyfiles (prompt  #SOURCE_PROMPT)
  90.            (source "source")
  91.            (all)
  92.            (dest    (tackon #DEST_MAIN   "source"))
  93.            (confirm)
  94.            (help    #SOURCE_HELP)
  95. )
  96.  
  97. (complete 100)
  98. (exit)
  99.  
  100.